package com.test.www.entity;

/**
 * <p>学生对象实体类</p>
 * @author
 * 2020/12/17 21:34
 */
public class Student {
    private String id;
    private String username;
    private double math;
    private double chinese;
    private double english;
    private double physics;
    private double computer;

    public Student(String id, String username, double math, double chinese, double english, double physics, double computer) {
        this.id = id;
        this.username = username;
        this.math = math;
        this.chinese = chinese;
        this.english = english;
        this.physics = physics;
        this.computer = computer;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", math=" + math +
                ", chinese=" + chinese +
                ", english=" + english +
                ", physics=" + physics +
                ", computer=" + computer +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public double getMath() {
        return math;
    }

    public void setMath(double math) {
        this.math = math;
    }

    public double getChinese() {
        return chinese;
    }

    public void setChinese(double chinese) {
        this.chinese = chinese;
    }

    public double getEnglish() {
        return english;
    }

    public void setEnglish(double english) {
        this.english = english;
    }

    public double getPhysics() {
        return physics;
    }

    public void setPhysics(double physics) {
        this.physics = physics;
    }

    public double getComputer() {
        return computer;
    }

    public void setComputer(double computer) {
        this.computer = computer;
    }
}
